package com.ruoyi.human.service.impl;

import com.ruoyi.human.mapper.CounterMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CounterService {
    @Autowired
    private CounterMapper counterMapper;
    //根据商店id查询商店的菜品数量
    public int updateCount(Integer storeId) {
        int i=counterMapper.updateCount(storeId);
        return i;
    }
}
